package com.guodu.entity;

import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ViewMaterialRukuId entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="VIEW_MATERIAL_RUKU")
public class ViewMaterialRuku implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String year;
	private String month;
	private Long funitsId;
	private Long unitsId;
	private BigDecimal monthMoney;
	private BigDecimal yearMoney;

	@Id
	@Column(name = "ID", precision = 22, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "YEAR", length = 4)
	public String getYear() {
		return this.year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	@Column(name = "MONTH", length = 2)
	public String getMonth() {
		return this.month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	@Column(name = "FUNITS_ID", precision = 22, scale = 0)
	public Long getFunitsId() {
		return this.funitsId;
	}

	public void setFunitsId(Long funitsId) {
		this.funitsId = funitsId;
	}

	@Column(name = "UNITS_ID", precision = 20, scale = 0)
	public Long getUnitsId() {
		return this.unitsId;
	}

	public void setUnitsId(Long unitsId) {
		this.unitsId = unitsId;
	}

	@Column(name = "MONTH_MONEY", precision = 22, scale = 0)
	public BigDecimal getMonthMoney() {
		return this.monthMoney;
	}

	public void setMonthMoney(BigDecimal monthMoney) {
		this.monthMoney = monthMoney;
	}

	@Column(name = "YEAR_MONEY", precision = 22, scale = 0)
	public BigDecimal getYearMoney() {
		return this.yearMoney;
	}

	public void setYearMoney(BigDecimal yearMoney) {
		this.yearMoney = yearMoney;
	}
}